import request from '@/utils/request'

export function getMomentCommentList(params) {
  return request({
    url: process.env.ADMIN_API + '/momentComment/getList',
    method: 'post',
    data: params
  })
}

export function addMomentComment(params) {
  return request({
    url: process.env.ADMIN_API + '/momentComment/add',
    method: 'post',
    data: params
  })
}

export function editMomentComment(params) {
  return request({
    url: process.env.ADMIN_API + '/momentComment/edit',
    method: 'post',
    data: params
  })
}

export function deleteMomentComment(params) {
  return request({
    url: process.env.ADMIN_API + '/momentComment/delete',
    method: 'post',
    data: params
  })
}

export function deleteBatchMomentComment(params) {
  return request({
    url: process.env.ADMIN_API + '/momentComment/deleteBatch',
    method: 'post',
    data: params
  })
}

// 审批评论
export function auditMomentComment(params) {
  return request({
    url: process.env.ADMIN_API + '/momentComment/audit',
    method: 'post',
    data: params
  })
}
